package com.itheima.services;

import com.itheima.pojo.*;

import java.util.List;

public interface UserServices {
    public User Ulogin(User user);
    public Result registered(User user);
    public String getImage(String userName);
    public UserMessage getUserMessage(String userName);
    public Result changeUserMessage(UserMessage userMessage);
    public List<Shopping> uShowFood(Food food,String userName);
    public void minusFood(String userName,String foodName);
    public void plusFood(String userName,String foodName);
    public String getList(String userName);
    public Result submitOrder(String userName,String list,String remark);
    public PageBean2 uShowOrders(String userName,int currentPage,int pageSize);
    public void giveRate(Long orderId,int rate);
    public Result ifCancel(String userName);
}
